import Layout from '@/page/index/'
export default [{
		path: '/wel',
		component: Layout,
		redirect: '/wel/index',
		children: [{
			path: 'index',
			name: '首页',
			meta: {
				i18n: 'dashboard'
			},
			component: () =>
				import( /* webpackChunkName: "views" */ '@/views/wel/index')
		}, {
			path: 'dashboard',
			name: '控制台',
			meta: {
				i18n: 'dashboard',
				menu: false,
			},
			component: () =>
				import( /* webpackChunkName: "views" */ '@/views/wel/dashboard')
		}]
	}, {
		path: '/form-detail',
		component: Layout,
		children: [{
			path: 'index',
			name: '详情页',
			meta: {
				i18n: 'detail'
			},
			component: () =>
				import( /* webpackChunkName: "views" */ '@/views/util/form-detail')
		}]
	}, {
		path: '/info',
		component: Layout,
		redirect: '/info/index',
		children: [{
			path: 'index',
			name: '个人信息',
			meta: {
				i18n: 'info'
			},
			component: () =>
				import( /* webpackChunkName: "views" */ '@/views/user/info')
		}, {
			path: 'setting',
			name: '个人设置',
			meta: {
				i18n: 'setting'
			},
			component: () =>
				import( /* webpackChunkName: "views" */ '@/views/user/setting')
		}]
	},
	{
		path: '/device',
		component: Layout,
		redirect: '/device/list',
		children: [{
			path: 'list',
			name: '个人信息',
			meta: {
				i18n: 'info'
			},
			component: () =>
				import( /* webpackChunkName: "views" */ '@/views/device/list')
		}, {
			path: 'index',
			name: '个人设置',
			meta: {
				i18n: 'setting'
			},
			component: () =>
				import( /* webpackChunkName: "views" */ '@/views/device/index')
		}]
	},
	{
		path: '/edition',
		component: Layout,
		redirect: '/edition/type',
		children: [{
			path: 'type',
			name: '个人信息',
			meta: {
				i18n: 'info'
			},
			component: () =>
				import( /* webpackChunkName: "views" */ '@/views/edition/type')
		}, {
			path: 'version',
			name: '个人设置',
			meta: {
				i18n: 'setting'
			},
			component: () =>
				import( /* webpackChunkName: "views" */ '@/views/edition/version')
		}]
	},

	{
		path: '/contacts',
		component: Layout,
		redirect: '/contacts/user',
		children: [{
			path: 'user',
			name: '联系人',
			meta: {
				i18n: 'info'
			},
			component: () =>
				import( /* webpackChunkName: "views" */ '@/views/contacts/user')
		}, {
			path: 'setting',
			name: '设置',
			meta: {
				i18n: 'setting'
			},
			component: () =>
				import( /* webpackChunkName: "views" */ '@/views/contacts/setting')
		}]
	}
]
